package com.ihome.excel.xlsx.validate;

import com.ihome.excel.xlsx.exceptions.RowsBusinessException;

public interface IRowsValidateRule {
    
	/**
	 * 一批次取多少条数据
	 * @return
	 */
    public int rowsBatch();
    
    /**
     * 行级验证器 
     * @param rowValue 对应模板配置的映射对象
     * @throws RowsBusinessException
     */
    public void rowValidateRule(Object rowValue) throws RowsBusinessException;    
    
}
